<?php
/**
 * Created by PhpStorm.
 * User: Raymond
 * Date: 2021-06-25
 * Time: 09:01
 */

$target = "Međimurska";
$candidate = "Međimurje";
similar_text($target, $candidate, $percent);
echo $percent . "\n";

$target = "Radić";
$candidate = "Tadić";
similar_text($target, $candidate, $percent);
echo $percent . "\n";